package com.nchu.romantic.surprise.setting;

import org.springframework.beans.factory.xml.NamespaceHandlerSupport;

/**
 * @author fujianjian
 * @project react-learning
 * @date 2019/8/5 22:36
 */
public class ServiceNamespaceHandler extends NamespaceHandlerSupport {
    @Override
    public void init() {
        registerBeanDefinitionParser("service", new ServiceBeanDefinitionParser(Service.class));
        registerBeanDefinitionParser("monitor", new ServiceBeanDefinitionParser(Service.class));
    }
}
